package com.dense.kuiniu.floatcabinet.mvp.contract;

import com.dense.kuiniu.floatcabinet.mvp.http.entity.Book;
import com.jess.arms.mvp.IModel;
import com.jess.arms.mvp.IView;

import java.util.List;

import io.reactivex.Observable;

/**
 * @author Administrator
 * @date 2020/11/2
 */
public interface QueryContract {
    interface View extends IView {
        public void showData(List<Book> list);
        public void showInfo(String msg);
    }

    interface Model extends IModel {
        public Observable<List<Book>> query(String key);
    }
} 